package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;

import java.util.List;

public interface IPermissionService {
    void saveOrUpdate(Permission entity);

    void delete(Long id);

    Permission get(Long id);

    List<Permission> listAll();

    List<Permission> selectByRoleId(Long roleId);

    void reload();

    // 权限获取
    List<String> selectByEmployeeId(Long employeeId);

}
